package com.wzh.springboot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * (Img)表实体类
 *
 * @author makejava
 * @since 2020-05-04 01:02:37
 */
@SuppressWarnings("serial")
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("img")
public class Img implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "imgId", type = IdType.AUTO)
    private Integer imgId;

    @TableField("url")
    private String url;

    @TableField("spectrumId")
    private Integer spectrumId;

}